﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Csharphomeworks
{
    class MyHello
    {
        private string[] str;
        public void MyHelloX(string[] str)
        {
            this.str = str;
            Console.WriteLine("Hello MyHello");
        }
        public void Display()
        {
            foreach(string xx in str)
            {
                Console.WriteLine( "{0} {1}",xx,xx);
            }
        }
    }
}
